package com.app.mapper.user;

import com.app.domain.bo.user.UserBo;
import com.app.domain.po.user.UserPo;
import com.app.domain.vo.user.UserVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * UserMapper
 */
@Repository
public interface UserMapper extends BaseMapper<UserPo> {

    /**
     * 查询用户列表
     *
     * @param bo 入参
     */
    List<UserVo> lists(@Param("bo") UserBo bo);

    /**
     * 用户搜索
     *
     * @param bo 入参
     */
    List<UserVo> search(@Param("bo") UserBo bo);

}